package com.andnnl.reactor;

import java.util.concurrent.Executors;

/**
 * Created by chenss on 2021/5/20.
 */
public class ServerTest {
    public static void main(String[] args) {
        Server server = new Server(1000);
//        new Thread
        Executors.newSingleThreadExecutor().submit(()->{
            server.start();
        });
        server.addTestSource();
    }
}
